]> dgit.raspbian.org Git - gnome-shell.git/commit
extensionSystem: Catch errors when removing extension update
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 23 May 2025 20:15:13 +0000 (22:15 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 24 May 2025 13:47:07 +0000 (15:47 +0200)
commit6b8a2e6d917e970dd3e130a2045068b47e38b047
tree92cba2cd663fd83ca6436e97b8dfc0d582d50e52
parent8d6e884bab3806484b17fe4b644721ccf9fde84b
extensionSystem: Catch errors when removing extension update

We want to remove the temporary folder independently from whether the
update succeeded or failed, so we currently remove it from a `finally`
statement. Unfortunately that operation can fail as well, in which
case we don't catch it and the exception interferes with startup.

Fix this by removing the folder in a separate catch statement instead.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8417
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3721>
js/ui/extensionSystem.js